package net.tngou.crawler.pojo;

import com.alibaba.fastjson.JSONObject;

public class Facroty extends POJO {

	private String  name 	;//		企业名称 	
	private String  number 	;// 	编号 	
	private String  code 	;// 	社会信用代码/组织机构代码 	
	private String  ctype 	;// 		分类码 	
	private String  province;// 		省份 	
	private String  legal 	;// 		法定代表人 	
	private String  charge 	;//		企业负责人 	
	private String  leader 	;// 		质量负责人 	
	private String  raddress;// 		注册地址 	
	private String  paddress;//		生产地址 	
	private String  pscope 	;// 		生产范围 	
	private String  sdate 	;// 		发证日期 	
	private String  edate 	;// 		有效期至 	
	private String  organ 	;// 		发证机关 	
	private String  issuer 	;// 		签发人 	
	private String  regulatory;// 		日常监管机构 	
	private String  supervisor;//	日常监管人员 	
	private String  rphone 	;//		监督举报电话 	
	private String  mark 	;// 		备注 
	public Facroty() {}
	public Facroty(JSONObject json) {
		if(json!=null) {
			this.number=json.getString("编号");
			this.name=json.getString("企业名称");	
			this.code=json.getString("社会信用代码/组织机构代码"); 	
			this.ctype=json.getString("分类码"); 	
			this.province=json.getString("省份"); 	
			this.legal=json.getString("法定代表人"); 	
			this.charge=json.getString("企业负责人"); 	
			this.leader=json.getString("质量负责人");
			this.raddress=json.getString("注册地址"); 	
			this.paddress=json.getString("生产地址"); 	
			this.pscope=json.getString("生产范围"); 	
			this.sdate=json.getString("发证日期"); 	
			this.edate=json.getString("有效期至"); 	
			this.organ=json.getString("发证机关"); 	
			this.issuer=json.getString("签发人"); 	
			this.regulatory=json.getString("日常监管机构"); 	
			this.supervisor=json.getString("日常监管人员"); 	
			this.rphone=json.getString("监督举报电话"); 	
			this.mark=json.getString("备注"); 
		}
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCtype() {
		return ctype;
	}
	public void setCtype(String ctype) {
		this.ctype = ctype;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getLegal() {
		return legal;
	}
	public void setLegal(String legal) {
		this.legal = legal;
	}
	public String getCharge() {
		return charge;
	}
	public void setCharge(String charge) {
		this.charge = charge;
	}
	public String getLeader() {
		return leader;
	}
	public void setLeader(String leader) {
		this.leader = leader;
	}
	public String getRaddress() {
		return raddress;
	}
	public void setRaddress(String raddress) {
		this.raddress = raddress;
	}
	public String getPaddress() {
		return paddress;
	}
	public void setPaddress(String paddress) {
		this.paddress = paddress;
	}
	public String getPscope() {
		return pscope;
	}
	public void setPscope(String pscope) {
		this.pscope = pscope;
	}
	public String getSdate() {
		return sdate;
	}
	public void setSdate(String sdate) {
		this.sdate = sdate;
	}
	public String getEdate() {
		return edate;
	}
	public void setEdate(String edate) {
		this.edate = edate;
	}
	public String getOrgan() {
		return organ;
	}
	public void setOrgan(String organ) {
		this.organ = organ;
	}
	public String getIssuer() {
		return issuer;
	}
	public void setIssuer(String issuer) {
		this.issuer = issuer;
	}
	public String getRegulatory() {
		return regulatory;
	}
	public void setRegulatory(String regulatory) {
		this.regulatory = regulatory;
	}
	public String getSupervisor() {
		return supervisor;
	}
	public void setSupervisor(String supervisor) {
		this.supervisor = supervisor;
	}
	public String getRphone() {
		return rphone;
	}
	public void setRphone(String rphone) {
		this.rphone = rphone;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	
	
	
}
